home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / graphics.17 / graphics / graphics-0.17 / plot2tek / closepl.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-12  |  1.1 KB  |  32 lines

  1. /* libtek, a library of functions for tektronics 4010 compatible devices.
  2.    Copyright (C) 1989 Free Software Foundation, Inc.
  3.  
  4. libtek is distributed in the hope that it will be useful, but WITHOUT ANY
  5. WARRANTY.  No author or distributor accepts responsibility to anyone for the
  6. consequences of using it or for whether it serves any particular purpose or
  7. works at all, unless he says so in writing.  Refer to the GNU General Public
  8. License for full details.
  9.  
  10. Everyone is granted permission to copy, modify and redistribute libtek, but
  11. only under the conditions described in the GNU General Public License.  A copy
  12. of this license is supposed to have been given to you along with libtek so
  13. you can know your rights and responsibilities.  It should be in a file named
  14. COPYING.  Among other things, the copyright notice and this notice must be
  15. preserved on all copies.  */
  16.  
  17. /* This file is the closepl routine, which is a standard part of the plot
  18.    library.  Normally it closes the plotting device.   */
  19.  
  20. #include "sys-defines.h"
  21. #include "libplot.h"
  22.  
  23. int
  24. closepl ()
  25. {
  26.   move(0, 0);            /* Move to lower left corner */
  27.  
  28.   putchar('\037');        /* Enter alpha mode */
  29.  
  30.   return 0;
  31. }
  32.